package com.dy.drp.mapper;

import com.dy.drp.dto.SaleCollect;
import com.dy.drp.entity.Salelist;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dy.drp.util.SelectUtil;
import com.dy.drp.vo.SalelistVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author dy
 * @since 2022-04-02
 */
@Mapper
public interface SalelistMapper extends BaseMapper<Salelist> {
    List<SalelistVo> selectSaleListBySaleId(Long saleId);

    List<SaleCollect> selectCollect(SelectUtil selectUtil);

    List<Integer> selectCount();

    List<SaleCollect> selectCollectByInfo(SelectUtil selectUtil);

    List<Integer> selectCountByInfo(SelectUtil selectUtil);
}
